/*
 * GPIO.h
 *
 *  Created on: Sep 18, 2014
 *      Author: Administrador
 */

#ifndef GPIO_H_
#define GPIO_H_
#include "derivative.h" /* include peripheral declarations */
#include "../typedef.h"

#define RED		22
#define GREEN	26
#define BLUE	21
/*TYPEDEFS*/

typedef enum{
	eALT0,
	eGPIO,
	eALT2,
	eALT3,
	eALT4,
	eALT5,
	eALT6,
	eALT7
}ePorCtrlMUX_t;

typedef enum{
	_Red,
	_Green,
	_Blue,
	_RGB
}eRGB_t;

void vfn_GPIO_INIT(void);
void vfn_RGB_led(eRGB_t eLED);
void vfn_RGBBlue_led(void);
void vfn_RGBRed_led(void);
void vfn_RGBGreen_led(void);

#endif /* GPIO_H_ */
